Skip to content

Updates for the latest hyperlight version#24

Open
simongdavies wants to merge 1 commit intomainfrom
update-to-latest-hyperlight
Open

Updates for the latest hyperlight version#24
simongdavies wants to merge 1 commit intomainfrom
update-to-latest-hyperlight

Conversation

@simongdavies
Copy link
Contributor

This pull request refactors how sandbox memory is configured and managed in the Hyperlight JS runtime. The main change is replacing the concept of a fixed "stack size" with a more flexible "scratch size" region, which includes stack space and other writable memory for the guest. Additionally, snapshot handling is improved by switching to Arc<Snapshot> for more efficient and safer snapshot sharing. Documentation and examples are updated to reflect these changes, and the error model is simplified by removing the explicit "stack overflow" error code.

Signed-off-by: Simon Davies <simongdavies@users.noreply.github.com>
@simongdavies simongdavies added the kind/dependencies Dependency updates label Feb 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/dependencies Dependency updates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant